public class Test {
    public static void main(String[] args) {
        outerClass outerClass=new outerClass();
        System.out.println(outerClass.data1);
        //获取内部类对象依赖与外部类对象
        outerClass.InnerClass innerClass= outerClass.new InnerClass();
        innerClass.test();
    }
}
